package com.dsmbase.corp.common;

import net.sf.json.JSONObject;

public enum Code {

	SUCC,

	ILLEGAL_PARAM,

	INCORRECT_PASSWORD,
	
	INVALID_FLOW_ID,
	
	FLOW_INTERNAL_ERROR,
	
	FAILURE_CREATE_PROJECT,
	
	FAILURE_CREATE_PROJECT_NODE;

	public JSONObject toJson() {
		JSONObject json = new JSONObject();
		json.put("code", this);
		return json;
	}
	
	
}
